﻿<Window x:Class="NetworkPower.UI.ReplaceBlueprint"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:NetworkPower.UI"
        mc:Ignorable="d"
        Title="ReplaceBlueprint" Height="300" Width="600" ResizeMode="NoResize">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30*"/>
            <RowDefinition Height="33*"/>
            <RowDefinition Height="33*"/>
            <RowDefinition Height="37*"/>
            <RowDefinition Height="136*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="340*"/>
            <ColumnDefinition Width="603*"/>
        </Grid.ColumnDefinitions>
        <TextBox Grid.Column="0" IsReadOnly="True" Grid.Row="0" x:Name="txtProject" HorizontalAlignment="Left" Margin="60,5,0,0" VerticalAlignment="Top" Width="131"/>
        <Label x:Name="label" Content="工程名称" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Top"/>
        <Label x:Name="label_Copy" Content="电压等级" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Top" Grid.Row="1"/>
        <ComboBox DisplayMemberPath="VoltageValue"
                 Grid.Column="0" Grid.Row="1" x:Name="cmbVoltage" HorizontalAlignment="Left" Margin="60,5,0,0" VerticalAlignment="Top" Width="131" SelectionChanged="cmbVoltage_SelectionChanged" />
        <Label x:Name="label_Copy1" Content="间隔类型" HorizontalAlignment="Left" Margin="0,3,0,0" VerticalAlignment="Top" Grid.Row="2"/>
        <ComboBox  DisplayMemberPath="SeperatorValue"
            Grid.Column="0" Grid.Row="2" x:Name="cmbSepType" HorizontalAlignment="Left" Margin="60,7,0,0" VerticalAlignment="Top" Width="131" SelectionChanged="cmbSepType_SelectionChanged"/>
        <Label x:Name="label_Copy2" Content="间隔名称" HorizontalAlignment="Left" Margin="0,1,0,0" VerticalAlignment="Top" Grid.Row="3"/>
        <ComboBox DisplayMemberPath="SepertorName"
            Grid.Column="0" Grid.Row="3" x:Name="cmbSepName" HorizontalAlignment="Left" Margin="60,5,0,0" VerticalAlignment="Top" Width="131"/>
        <Label x:Name="label_Copy3" Content="新图纸生成路径" HorizontalAlignment="Left" Margin="0,10,0,0" VerticalAlignment="Top" Grid.Row="4"/>
        <TextBox IsReadOnly="True" x:Name="tbPath" HorizontalAlignment="Left" Height="23" Margin="10,36,0,0" Grid.Row="4" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="181"/>
        <Button x:Name="btnPath" Content="选择" HorizontalAlignment="Left" Margin="116,13,0,0" Grid.Row="4" VerticalAlignment="Top" Width="75" Click="btnPath_Click"/>
        <Label x:Name="label_Copy4" Content="图纸库" HorizontalAlignment="Left" Margin="121,-3,0,0" VerticalAlignment="Top" Grid.Column="1"/>
        <!--<ListView x:Name="lvPaper" Grid.Column="1" HorizontalAlignment="Left" Height="224" Margin="58,23,0,0" Grid.RowSpan="5" VerticalAlignment="Top" Width="200">
            <ListView.View>
                <GridView>
                    <GridViewColumn/>
                </GridView>
            </ListView.View>
        </ListView>-->
        <ListBox x:Name="lvPaper" Grid.Column="1" HorizontalAlignment="Left" Height="224" Margin="58,23,0,0" Grid.RowSpan="5" VerticalAlignment="Top" Width="200" SelectionMode="Multiple">
        
        </ListBox>
        <Button x:Name="btnOK" Content="确定" HorizontalAlignment="Left" Margin="294,106,0,0" Grid.Row="4" VerticalAlignment="Top" Width="75" Grid.Column="1" Click="btnOK_Click"/>
 
    </Grid>
</Window>
